<template>
  <div class="form-large-button" v-on="$listeners">
    <div class="form-large-button-icon">
      <span class="iconfont" v-html="`&#x${icon};`"></span>
    </div>
    <div class="form-large-button-title">
      {{title}}
    </div>
  </div>
</template>
<script>
import {createProps} from '@/utils';

export default {
  name: 'LargeButton',
  props: {
    icon: createProps(String),
    title: createProps(String)
  }
}
</script>
<style>
.form-large-button {
  width: 240px;
  height: 170px;
  border-radius: 16px;
  box-shadow: 0 2px 10px #c2c2c2;
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: center;
  flex-direction: column;
  user-select: none;
}

.form-large-button-icon .iconfont {
  color: #1f85ec;
  font-size: 50px !important;
  line-height: 50px;
}

.form-large-button-title {
  font-size: 20px;
  margin-top: 5px;
}
</style>